package com.cg.service;

import com.cg.Dto.*;
import com.cg.entity.Personnel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cg.result.PageDTO;
import com.cg.result.R;
import jakarta.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lhy
 * @since 2024-12-26
 */
public interface PersonnelService extends IService<Personnel> {

    R login(LoginDto loginDto);

    R getAccount(HttpServletRequest request);

    R<Personnel> searchuser(SearchUserDto searchUserDto);

    R<?> insertuser(InsertUserDto insertUserDto);

    R<?> updateperson(UpdateUserDto updateUserDto);

    R<?> updatestatus(UpdateStatusDto updateStatusDto);
}
